export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/activities/index',
    'pages/matchmaker/index',
    'pages/favorites/index',
    'pages/mine/index',
    'pages/mine/user-home',
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'Love3',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    color: '#666',
    selectedColor: '#0ea5e9',
    backgroundColor: '#fff',
    borderStyle: 'black',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页',
        iconPath: 'assets/images/home.png',
        selectedIconPath: 'assets/images/home-active.png'
      },
      {
        pagePath: 'pages/activities/index',
        text: '活动',
        iconPath: 'assets/images/activities.png',
        selectedIconPath: 'assets/images/activities-active.png'
      },
      {
        pagePath: 'pages/matchmaker/index',
        text: '红娘',
        iconPath: 'assets/images/matchmaker.png',
        selectedIconPath: 'assets/images/matchmaker-active.png'
      },
      {
        pagePath: 'pages/favorites/index',
        text: '收藏',
        iconPath: 'assets/images/favorites.png',
        selectedIconPath: 'assets/images/favorites-active.png'
      },
      {
        pagePath: 'pages/mine/user-home',
        text: '我的',
        iconPath: 'assets/images/mine.png',
        selectedIconPath: 'assets/images/mine-active.png'
      }
    ]
  },
  permission: {
    'scope.userLocation': {
      desc: '你的位置信息将用于小程序位置接口的效果展示'
    }
  }
})